Skip to content

Commit

Permalink
chore: transfer repo from personal to organization
Browse files Browse the repository at this point in the history
Signed-off-by: sarthakjdev <jsarthak448@gmail.com>
  • Loading branch information
sarthakjdev committed Dec 6, 2024
1 parent af52dae commit 0eab870
Show file tree
Hide file tree
Showing 51 changed files with 85 additions and 85 deletions.
2 changes: 1 addition & 1 deletion .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
branches:
- master
repositoryUrl: https://github.com/sarthakjdev/wapi.go
repositoryUrl: https://github.com/wapikit/wapi.go
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
Expand Down
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ All types of contributions are encouraged and valued. See the [Table of Contents
## Code of Conduct

This project and everyone participating in it is governed by the
[Wapi.go Code of Conduct](https://github.comsarthakjdev/wapi.go/blob//CODE_OF_CONDUCT.md).
[Wapi.go Code of Conduct](https://github.comwapikit/wapi.go/blob//CODE_OF_CONDUCT.md).
By participating, you are expected to uphold this code. Please report unacceptable behavior
to <>.

## I Have a Question

> If you want to ask a question, we assume that you have read the available [Documentation](https://golang.wapikit.com).
Before you ask a question, it is best to search for existing [Issues](https://github.comsarthakjdev/wapi.go/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
Before you ask a question, it is best to search for existing [Issues](https://github.comwapikit/wapi.go/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.

If you then still feel the need to ask a question and need clarification, we recommend the following:

- Open an [Issue](https://github.comsarthakjdev/wapi.go/issues/new).
- Open an [Issue](https://github.comwapikit/wapi.go/issues/new).
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.

Expand Down Expand Up @@ -80,7 +80,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform

- Make sure that you are using the latest version.
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://golang.wapikit.com). If you are looking for support, you might want to check [this section](#i-have-a-question)).
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.comsarthakjdev/wapi.go/issues?q=label%3Abug).
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.comwapikit/wapi.go/issues?q=label%3Abug).
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
- Collect information about the bug:
- Stack trace (Traceback)
Expand All @@ -99,7 +99,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform

We use GitHub issues to track bugs and errors. If you run into an issue with the project:

- Open an [Issue](https://github.comsarthakjdev/wapi.go/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Open an [Issue](https://github.comwapikit/wapi.go/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Explain the behavior you would expect and the actual behavior.
- Please provide as much context as possible and describe the _reproduction steps_ that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
- Provide the information you collected in the previous section.
Expand All @@ -122,14 +122,14 @@ This section guides you through submitting an enhancement suggestion for Wapi.go

- Make sure that you are using the latest version.
- Read the [documentation](https://golang.wapikit.com) carefully and find out if the functionality is already covered, maybe by an individual configuration.
- Perform a [search](https://github.comsarthakjdev/wapi.go/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Perform a [search](https://github.comwapikit/wapi.go/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.

<!-- omit in toc -->

#### How Do I Submit a Good Enhancement Suggestion?

Enhancement suggestions are tracked as [GitHub issues](https://github.comsarthakjdev/wapi.go/issues).
Enhancement suggestions are tracked as [GitHub issues](https://github.comwapikit/wapi.go/issues).

- Use a **clear and descriptive title** for the issue to identify the suggestion.
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Visit the documentation of the SDK [here](https://golang.wapikit.com)

## Status

Beta Version - This SDK is not stable right now. It is currently in beta version. Report issues [here](https://github.com/sarthakjdev/wapi.go/issues).
Beta Version - This SDK is not stable right now. It is currently in beta version. Report issues [here](https://github.com/wapikit/wapi.go/issues).

This SDK is part of a technical suite built to support the WhatsApp Business Application Development ecosystem. This SDK also has a Node.js version, you can check it out [here](https://sarthakjdev/wapi.js/js).

Expand Down Expand Up @@ -40,7 +40,7 @@ This assumes you already have a working Go environment, if not please see
`go get` _will always pull the latest tagged release from the master branch._

```sh
go get github.com/sarthakjdev/wapi.go
go get github.com/wapikit/wapi.go
```

> Note: This SDK is not affiliated with the official WhatsApp Cloud API or does not act as any official solution provided the the Meta Inclusive Private Limited, this is just a open source SDK built for developers to support them in building whatsapp cloud api based chat bots easily.
Expand All @@ -54,13 +54,13 @@ You can check out the example WhatsApp bot here. [Example Chatbot](./example-cha
Import the package into your project.
This repository has three packages exported:

- github.com/sarthakjdev/wapi.go/components
- github.com/sarthakjdev/wapi.go/wapi/wapi
- github.com/sarthakjdev/wapi.go/wapi/business
- github.com/sarthakjdev/wapi.go/wapi/events
- github.com/wapikit/wapi.go/components
- github.com/wapikit/wapi.go/wapi/wapi
- github.com/wapikit/wapi.go/wapi/business
- github.com/wapikit/wapi.go/wapi/events

```go
import "github.com/sarthakjdev/wapi.go/wapi/wapi"
import "github.com/wapikit/wapi.go/wapi/wapi"
```

Construct a new Wapi Client to access the managers in order to send messages and listen to incoming notifications.
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/cmd/wapi.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/cmd/wapi"
import "github.com/wapikit/wapi.go/cmd/wapi"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/internal.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/internal"
import "github.com/wapikit/wapi.go/internal"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/internal/manager.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/internal/manager"
import "github.com/wapikit/wapi.go/internal/manager"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/pkg/business.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/pkg/business"
import "github.com/wapikit/wapi.go/pkg/business"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/pkg/client.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/pkg/client"
import "github.com/wapikit/wapi.go/pkg/client"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/pkg/components.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/pkg/components"
import "github.com/wapikit/wapi.go/pkg/components"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/pkg/events.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/pkg/events"
import "github.com/wapikit/wapi.go/pkg/events"
```


Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/pkg/messaging.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```go
import "github.com/sarthakjdev/wapi.go/pkg/messaging"
import "github.com/wapikit/wapi.go/pkg/messaging"
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Wapi.go SDK provides a simaple and easy to use classes architecture to build mes

<Note>In all the media messages which includes image, document, audio, video and sticker, either we will have to use the Id of media, or a publicly accessible hosted media Url.</Note>

<Tip> With the rapidly changing whatsapp business platform features and offerings, we try our best to be in sync with the new features provided by the API. If you think we are missing upon any of the available type of message support. You can open a github issue [here](https://github.com/sarthakjdev/Wapi.go/issues) or direclty [contact](/guide/contact) the maintainer of the project.</Tip>
<Tip> With the rapidly changing whatsapp business platform features and offerings, we try our best to be in sync with the new features provided by the API. If you think we are missing upon any of the available type of message support. You can open a github issue [here](https://github.com/wapikit/wapi.go/issues) or direclty [contact](/guide/contact) the maintainer of the project.</Tip>

### Text Message

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The first step to build a Wapi.go based chat bot is to create a new project. You

```go
go mod init <project-name>
go get github.com/sarthakjdev/wapi.go
go get github.com/wapikit/wapi.go
```

### Other use cases
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ description: 'Welcome to the home of your new documentation'
<Card
title="Get Inspiration"
icon="stars"
href="https://github.com/sarthakjdev/Wapi.go/tree/master/packages/example-chat-bot"
href="https://github.com/wapikit/wapi.go/tree/master/packages/example-chat-bot"
>
Check out the example chat bot to get inspiration
</Card>
Expand Down
8 changes: 4 additions & 4 deletions docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"topbarLinks": [
{
"name": "Report Bugs",
"url": "https://github.com/sarthakjdev/wapi.go/issues/new"
"url": "https://github.com/wapikit/wapi.go/issues/new"
}
],
"topbarCtaButton": {
"name": "Github",
"url": "https://github.com/sarthakjdev/wapi.go"
"url": "https://github.com/wapikit/wapi.go"
},
"tabs": [
{
Expand All @@ -46,12 +46,12 @@
{
"name": "Star us on GitHub",
"icon": "github",
"url": "https://github.com/sarthakjdev/wapi.go"
"url": "https://github.com/wapikit/wapi.go"
},
{
"name": "Go Package",
"icon": "code",
"url": "https://pkg.go.dev/github.com/sarthakjdev/wapi.go"
"url": "https://pkg.go.dev/github.com/wapikit/wapi.go"
},
{
"name": "Community",
Expand Down
8 changes: 4 additions & 4 deletions examples/chat-bot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"strings"
"time"

"github.com/sarthakjdev/wapi.go/pkg/business"
wapi "github.com/sarthakjdev/wapi.go/pkg/client"
wapiComponents "github.com/sarthakjdev/wapi.go/pkg/components"
"github.com/sarthakjdev/wapi.go/pkg/events"
"github.com/wapikit/wapi.go/pkg/business"
wapi "github.com/wapikit/wapi.go/pkg/client"
wapiComponents "github.com/wapikit/wapi.go/pkg/components"
"github.com/wapikit/wapi.go/pkg/events"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/http-backend-integration/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"

"github.com/labstack/echo/v4"
wapi "github.com/sarthakjdev/wapi.go/pkg/client"
"github.com/sarthakjdev/wapi.go/pkg/components"
"github.com/sarthakjdev/wapi.go/pkg/events"
wapi "github.com/wapikit/wapi.go/pkg/client"
"github.com/wapikit/wapi.go/pkg/components"
"github.com/wapikit/wapi.go/pkg/events"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/sarthakjdev/wapi.go
module github.com/wapikit/wapi.go

go 1.21.3

Expand Down
2 changes: 1 addition & 1 deletion internal/manager/event_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sync"

"github.com/sarthakjdev/wapi.go/pkg/events"
"github.com/wapikit/wapi.go/pkg/events"
)

// ChannelEvent represents an event that can be published and subscribed to.
Expand Down
2 changes: 1 addition & 1 deletion internal/manager/media_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/internal/request_client"
)

// MediaManager is responsible for managing media related operations.
Expand Down
4 changes: 2 additions & 2 deletions internal/manager/message_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"strings"

"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/sarthakjdev/wapi.go/pkg/components"
"github.com/wapikit/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/pkg/components"
)

// MessageManager is responsible for managing messages.
Expand Down
4 changes: 2 additions & 2 deletions internal/manager/phone_number_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"strings"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/internal"
"github.com/wapikit/wapi.go/internal/request_client"
)

// PhoneNumberManager is responsible for managing phone numbers for WhatsApp Business API and phone number specific operations.
Expand Down
4 changes: 2 additions & 2 deletions internal/manager/template_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"strings"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/internal"
"github.com/wapikit/wapi.go/internal/request_client"
)

type MessageTemplateType string
Expand Down
8 changes: 4 additions & 4 deletions internal/manager/webhook_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"time"

"github.com/labstack/echo/v4"
"github.com/sarthakjdev/wapi.go/internal"
"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/sarthakjdev/wapi.go/pkg/components"
"github.com/sarthakjdev/wapi.go/pkg/events"
"github.com/wapikit/wapi.go/internal"
"github.com/wapikit/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/pkg/components"
"github.com/wapikit/wapi.go/pkg/events"
)

// WebhookManager represents a manager for handling webhooks.
Expand Down
6 changes: 3 additions & 3 deletions pkg/business/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"time"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/sarthakjdev/wapi.go/internal/manager"
"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/internal"
"github.com/wapikit/wapi.go/internal/manager"
"github.com/wapikit/wapi.go/internal/request_client"
)

// BusinessClient is responsible for managing business account related operations.
Expand Down
10 changes: 5 additions & 5 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package wapi

import (
"github.com/labstack/echo/v4"
"github.com/sarthakjdev/wapi.go/internal/manager"
"github.com/sarthakjdev/wapi.go/internal/request_client"
"github.com/sarthakjdev/wapi.go/pkg/business"
"github.com/sarthakjdev/wapi.go/pkg/events"
"github.com/sarthakjdev/wapi.go/pkg/messaging"
"github.com/wapikit/wapi.go/internal/manager"
"github.com/wapikit/wapi.go/internal/request_client"
"github.com/wapikit/wapi.go/pkg/business"
"github.com/wapikit/wapi.go/pkg/events"
"github.com/wapikit/wapi.go/pkg/messaging"
)

type ClientConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/audio_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/wapikit/wapi.go/internal"
)

// AudioMessage represents an audio message.
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/contact_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/wapikit/wapi.go/internal"
)

type AddressType string
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/document_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/wapikit/wapi.go/internal"
)

// DocumentMessage represents a document message.
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/image_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/wapikit/wapi.go/internal"
)

// ImageMessage represents a message with an image.
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/list_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/wapikit/wapi.go/internal"
)

// listSection represents a section in the list message.
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/location_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/sarthakjdev/wapi.go/internal"
"github.com/wapikit/wapi.go/internal"
)

// LocationMessage represents a location message with latitude, longitude, address, and name.
Expand Down
Loading

0 comments on commit 0eab870

Please sign in to comment.