@nizam-os/merchant-sdk 2.7.2 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Client.d.ts +9 -0
- package/dist/Client.js +24 -12
- package/dist/api/resources/devices/client/Client.d.ts +71 -0
- package/dist/api/resources/devices/client/Client.js +238 -0
- package/dist/api/resources/devices/client/index.d.ts +1 -0
- package/dist/api/resources/devices/client/index.js +17 -0
- package/dist/api/resources/devices/client/requests/DeregisterDeviceRequest.d.ts +9 -0
- package/dist/api/resources/devices/client/requests/DeregisterDeviceRequest.js +3 -0
- package/dist/api/resources/devices/client/requests/RegisterDevice.d.ts +22 -0
- package/dist/api/resources/devices/client/requests/RegisterDevice.js +13 -0
- package/dist/api/resources/devices/client/requests/index.d.ts +2 -0
- package/dist/api/resources/devices/client/requests/index.js +5 -0
- package/dist/api/resources/devices/exports.d.ts +2 -0
- package/dist/api/resources/devices/exports.js +21 -0
- package/dist/api/resources/devices/index.d.ts +1 -0
- package/dist/api/resources/devices/index.js +17 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/notificationPreferences/client/Client.d.ts +49 -0
- package/dist/api/resources/notificationPreferences/client/Client.js +175 -0
- package/dist/api/resources/notificationPreferences/client/index.d.ts +1 -0
- package/dist/api/resources/notificationPreferences/client/index.js +17 -0
- package/dist/api/resources/notificationPreferences/client/requests/UpdateNotificationPreferences.d.ts +11 -0
- package/dist/api/resources/notificationPreferences/client/requests/UpdateNotificationPreferences.js +3 -0
- package/dist/api/resources/notificationPreferences/client/requests/index.d.ts +1 -0
- package/dist/api/resources/notificationPreferences/client/requests/index.js +2 -0
- package/dist/api/resources/notificationPreferences/exports.d.ts +2 -0
- package/dist/api/resources/notificationPreferences/exports.js +21 -0
- package/dist/api/resources/notificationPreferences/index.d.ts +1 -0
- package/dist/api/resources/notificationPreferences/index.js +17 -0
- package/dist/api/resources/notifications/client/Client.d.ts +88 -0
- package/dist/api/resources/notifications/client/Client.js +316 -0
- package/dist/api/resources/notifications/client/index.d.ts +1 -0
- package/dist/api/resources/notifications/client/index.js +17 -0
- package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.d.ts +22 -0
- package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.js +3 -0
- package/dist/api/resources/notifications/client/requests/MarkNotificationReadRequest.d.ts +9 -0
- package/dist/api/resources/notifications/client/requests/MarkNotificationReadRequest.js +3 -0
- package/dist/api/resources/notifications/client/requests/index.d.ts +2 -0
- package/dist/api/resources/notifications/client/requests/index.js +2 -0
- package/dist/api/resources/notifications/exports.d.ts +2 -0
- package/dist/api/resources/notifications/exports.js +21 -0
- package/dist/api/resources/notifications/index.d.ts +1 -0
- package/dist/api/resources/notifications/index.js +17 -0
- package/dist/api/types/ActiveOrganization.d.ts +2 -2
- package/dist/api/types/ActiveOrganization.js +1 -1
- package/dist/api/types/ActivityResource.d.ts +2 -2
- package/dist/api/types/ActivityResource.js +1 -1
- package/dist/api/types/Asset.d.ts +2 -2
- package/dist/api/types/Asset.js +1 -1
- package/dist/api/types/AssetListItem.d.ts +2 -2
- package/dist/api/types/AssetListItem.js +1 -1
- package/dist/api/types/Assignment.d.ts +2 -2
- package/dist/api/types/Assignment.js +1 -1
- package/dist/api/types/BusinessCategory.d.ts +2 -2
- package/dist/api/types/BusinessCategory.js +1 -1
- package/dist/api/types/Country.d.ts +2 -2
- package/dist/api/types/Country.js +1 -1
- package/dist/api/types/Currency.d.ts +2 -2
- package/dist/api/types/Currency.js +1 -1
- package/dist/api/types/Device.d.ts +24 -0
- package/dist/api/types/Device.js +11 -0
- package/dist/api/types/Devices.d.ts +17 -0
- package/dist/api/types/Devices.js +11 -0
- package/dist/api/types/Invite.d.ts +2 -2
- package/dist/api/types/Invite.js +1 -1
- package/dist/api/types/Language.d.ts +2 -2
- package/dist/api/types/Language.js +1 -1
- package/dist/api/types/ListResponseActivityResource.d.ts +3 -3
- package/dist/api/types/ListResponseActivityResource.js +1 -1
- package/dist/api/types/ListResponseAssetListItem.d.ts +3 -3
- package/dist/api/types/ListResponseAssetListItem.js +1 -1
- package/dist/api/types/ListResponseBusinessCategory.d.ts +3 -3
- package/dist/api/types/ListResponseBusinessCategory.js +1 -1
- package/dist/api/types/ListResponseCountry.d.ts +3 -3
- package/dist/api/types/ListResponseCountry.js +1 -1
- package/dist/api/types/ListResponseCurrency.d.ts +3 -3
- package/dist/api/types/ListResponseCurrency.js +1 -1
- package/dist/api/types/ListResponseFile.d.ts +3 -3
- package/dist/api/types/ListResponseFile.js +1 -1
- package/dist/api/types/ListResponseHeatmapCell.d.ts +3 -3
- package/dist/api/types/ListResponseHeatmapCell.js +1 -1
- package/dist/api/types/ListResponseJob.d.ts +3 -3
- package/dist/api/types/ListResponseJob.js +1 -1
- package/dist/api/types/ListResponseLanguage.d.ts +3 -3
- package/dist/api/types/ListResponseLanguage.js +1 -1
- package/dist/api/types/ListResponseMembership.d.ts +3 -3
- package/dist/api/types/ListResponseMembership.js +1 -1
- package/dist/api/types/ListResponseNotification.d.ts +27 -0
- package/dist/api/types/ListResponseNotification.js +11 -0
- package/dist/api/types/ListResponseNotificationDeadLetter.d.ts +27 -0
- package/dist/api/types/ListResponseNotificationDeadLetter.js +11 -0
- package/dist/api/types/ListResponseOperatorPosition.d.ts +3 -3
- package/dist/api/types/ListResponseOperatorPosition.js +1 -1
- package/dist/api/types/ListResponseOrganization.d.ts +3 -3
- package/dist/api/types/ListResponseOrganization.js +1 -1
- package/dist/api/types/ListResponsePosition.d.ts +3 -3
- package/dist/api/types/ListResponsePosition.js +1 -1
- package/dist/api/types/ListResponseTimezone.d.ts +3 -3
- package/dist/api/types/ListResponseTimezone.js +1 -1
- package/dist/api/types/ListResponseUserResource.d.ts +3 -3
- package/dist/api/types/ListResponseUserResource.js +1 -1
- package/dist/api/types/Membership.d.ts +2 -2
- package/dist/api/types/Membership.js +1 -1
- package/dist/api/types/Notification.d.ts +48 -0
- package/dist/api/types/Notification.js +27 -0
- package/dist/api/types/NotificationDeadLetter.d.ts +36 -0
- package/dist/api/types/NotificationDeadLetter.js +11 -0
- package/dist/api/types/NotificationPreference.d.ts +13 -0
- package/dist/api/types/NotificationPreference.js +3 -0
- package/dist/api/types/NotificationPreferenceItem.d.ts +13 -0
- package/dist/api/types/NotificationPreferenceItem.js +3 -0
- package/dist/api/types/NotificationPreferences.d.ts +17 -0
- package/dist/api/types/NotificationPreferences.js +11 -0
- package/dist/api/types/NotificationUnreadCount.d.ts +16 -0
- package/dist/api/types/NotificationUnreadCount.js +11 -0
- package/dist/api/types/NotificationsMarkedRead.d.ts +16 -0
- package/dist/api/types/NotificationsMarkedRead.js +11 -0
- package/dist/api/types/Operator.d.ts +2 -2
- package/dist/api/types/Operator.js +1 -1
- package/dist/api/types/Organization.d.ts +2 -2
- package/dist/api/types/Organization.js +1 -1
- package/dist/api/types/QuietHours.d.ts +11 -0
- package/dist/api/types/QuietHours.js +3 -0
- package/dist/api/types/RealtimeTicket.d.ts +2 -2
- package/dist/api/types/RealtimeTicket.js +1 -1
- package/dist/api/types/ReconcileResponse.d.ts +2 -2
- package/dist/api/types/ReconcileResponse.js +1 -1
- package/dist/api/types/Timezone.d.ts +2 -2
- package/dist/api/types/Timezone.js +1 -1
- package/dist/api/types/User.d.ts +2 -2
- package/dist/api/types/User.js +1 -1
- package/dist/api/types/UserResource.d.ts +2 -2
- package/dist/api/types/UserResource.js +1 -1
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A registered push device (the token is never returned).
|
|
3
|
+
*/
|
|
4
|
+
export interface Device {
|
|
5
|
+
/** Device id. */
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
/** Push transport. */
|
|
8
|
+
platform?: string | undefined;
|
|
9
|
+
/** Registration lifecycle. */
|
|
10
|
+
status?: string | undefined;
|
|
11
|
+
/** When the device was first registered. */
|
|
12
|
+
registered_at?: string | undefined;
|
|
13
|
+
/** When the registration was last refreshed (last seen). */
|
|
14
|
+
last_seen_at?: string | undefined;
|
|
15
|
+
/** Object type discriminator. */
|
|
16
|
+
object?: Device.Object_ | undefined;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace Device {
|
|
19
|
+
/** Object type discriminator. */
|
|
20
|
+
const Object_: {
|
|
21
|
+
readonly Device: "device";
|
|
22
|
+
};
|
|
23
|
+
type Object_ = (typeof Object_)[keyof typeof Object_];
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Device = void 0;
|
|
5
|
+
var Device;
|
|
6
|
+
(function (Device) {
|
|
7
|
+
/** Object type discriminator. */
|
|
8
|
+
Device.Object_ = {
|
|
9
|
+
Device: "device",
|
|
10
|
+
};
|
|
11
|
+
})(Device || (exports.Device = Device = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as NizamMerchant from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The current user's registered push devices.
|
|
4
|
+
*/
|
|
5
|
+
export interface Devices {
|
|
6
|
+
/** The caller's live device registrations. */
|
|
7
|
+
devices?: NizamMerchant.Device[] | undefined;
|
|
8
|
+
/** Object type discriminator. */
|
|
9
|
+
object?: Devices.Object_ | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare namespace Devices {
|
|
12
|
+
/** Object type discriminator. */
|
|
13
|
+
const Object_: {
|
|
14
|
+
readonly DeviceList: "device_list";
|
|
15
|
+
};
|
|
16
|
+
type Object_ = (typeof Object_)[keyof typeof Object_];
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Devices = void 0;
|
|
5
|
+
var Devices;
|
|
6
|
+
(function (Devices) {
|
|
7
|
+
/** Object type discriminator. */
|
|
8
|
+
Devices.Object_ = {
|
|
9
|
+
DeviceList: "device_list",
|
|
10
|
+
};
|
|
11
|
+
})(Devices || (exports.Devices = Devices = {}));
|
|
@@ -16,7 +16,7 @@ export interface Invite {
|
|
|
16
16
|
expires_at?: string | undefined;
|
|
17
17
|
/** Bearer secret used to redeem the invite. Returned only on POST /v1/invites; subsequent lookups omit it. */
|
|
18
18
|
token?: string | undefined;
|
|
19
|
-
/** Object type discriminator
|
|
19
|
+
/** Object type discriminator. */
|
|
20
20
|
object?: Invite.Object_ | undefined;
|
|
21
21
|
}
|
|
22
22
|
export declare namespace Invite {
|
|
@@ -38,7 +38,7 @@ export declare namespace Invite {
|
|
|
38
38
|
readonly Revoked: "revoked";
|
|
39
39
|
};
|
|
40
40
|
type Status = (typeof Status)[keyof typeof Status];
|
|
41
|
-
/** Object type discriminator
|
|
41
|
+
/** Object type discriminator. */
|
|
42
42
|
const Object_: {
|
|
43
43
|
readonly Invite: "invite";
|
|
44
44
|
};
|
package/dist/api/types/Invite.js
CHANGED
|
@@ -8,11 +8,11 @@ export interface Language {
|
|
|
8
8
|
name?: string | undefined;
|
|
9
9
|
/** Name in the language itself, useful in language pickers. */
|
|
10
10
|
native_name?: string | undefined;
|
|
11
|
-
/** Object type discriminator
|
|
11
|
+
/** Object type discriminator. */
|
|
12
12
|
object?: Language.Object_ | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace Language {
|
|
15
|
-
/** Object type discriminator
|
|
15
|
+
/** Object type discriminator. */
|
|
16
16
|
const Object_: {
|
|
17
17
|
readonly Language: "language";
|
|
18
18
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Language = void 0;
|
|
5
5
|
var Language;
|
|
6
6
|
(function (Language) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. */
|
|
8
8
|
Language.Object_ = {
|
|
9
9
|
Language: "language",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseActivityResource {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseActivityResource.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.ActivityResource[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseActivityResource {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseActivityResource {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseActivityResource = void 0;
|
|
5
5
|
var ListResponseActivityResource;
|
|
6
6
|
(function (ListResponseActivityResource) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseActivityResource.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseAssetListItem {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseAssetListItem.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.AssetListItem[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseAssetListItem {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseAssetListItem {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseAssetListItem = void 0;
|
|
5
5
|
var ListResponseAssetListItem;
|
|
6
6
|
(function (ListResponseAssetListItem) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseAssetListItem.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseBusinessCategory {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseBusinessCategory.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.BusinessCategory[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseBusinessCategory {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseBusinessCategory {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseBusinessCategory = void 0;
|
|
5
5
|
var ListResponseBusinessCategory;
|
|
6
6
|
(function (ListResponseBusinessCategory) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseBusinessCategory.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseCountry {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseCountry.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Country[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseCountry {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseCountry {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseCountry = void 0;
|
|
5
5
|
var ListResponseCountry;
|
|
6
6
|
(function (ListResponseCountry) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseCountry.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseCurrency {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseCurrency.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Currency[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseCurrency {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseCurrency {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseCurrency = void 0;
|
|
5
5
|
var ListResponseCurrency;
|
|
6
6
|
(function (ListResponseCurrency) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseCurrency.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseFile {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseFile.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.File_[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseFile {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseFile {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseFile = void 0;
|
|
5
5
|
var ListResponseFile;
|
|
6
6
|
(function (ListResponseFile) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseFile.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseHeatmapCell {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseHeatmapCell.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.HeatmapCell[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseHeatmapCell {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseHeatmapCell {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseHeatmapCell = void 0;
|
|
5
5
|
var ListResponseHeatmapCell;
|
|
6
6
|
(function (ListResponseHeatmapCell) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseHeatmapCell.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseJob {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseJob.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Job[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseJob {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseJob {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseJob = void 0;
|
|
5
5
|
var ListResponseJob;
|
|
6
6
|
(function (ListResponseJob) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseJob.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseLanguage {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseLanguage.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Language[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseLanguage {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseLanguage {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseLanguage = void 0;
|
|
5
5
|
var ListResponseLanguage;
|
|
6
6
|
(function (ListResponseLanguage) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseLanguage.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseMembership {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseMembership.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Membership[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseMembership {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseMembership {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseMembership = void 0;
|
|
5
5
|
var ListResponseMembership;
|
|
6
6
|
(function (ListResponseMembership) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseMembership.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as NizamMerchant from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
|
+
*/
|
|
5
|
+
export interface ListResponseNotification {
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
|
+
object?: ListResponseNotification.Object_ | undefined;
|
|
8
|
+
/** Page of resources. Empty array when there are no matches. */
|
|
9
|
+
data?: NizamMerchant.Notification[] | undefined;
|
|
10
|
+
/** True when more pages exist; pass `next_cursor` as `?starting_after=` to fetch the next page. */
|
|
11
|
+
has_more?: boolean | undefined;
|
|
12
|
+
/** True when earlier pages exist; pass `prev_cursor` as `?ending_before=` to fetch the previous page. */
|
|
13
|
+
has_previous?: boolean | undefined;
|
|
14
|
+
/** Opaque cursor for the next page. `null` on the last page. */
|
|
15
|
+
next_cursor?: string | undefined;
|
|
16
|
+
/** Opaque cursor for the previous page. `null` on the first page. */
|
|
17
|
+
prev_cursor?: string | undefined;
|
|
18
|
+
/** Page size that produced this response. */
|
|
19
|
+
limit?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ListResponseNotification {
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
|
+
const Object_: {
|
|
24
|
+
readonly List: "list";
|
|
25
|
+
};
|
|
26
|
+
type Object_ = (typeof Object_)[keyof typeof Object_];
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListResponseNotification = void 0;
|
|
5
|
+
var ListResponseNotification;
|
|
6
|
+
(function (ListResponseNotification) {
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
|
+
ListResponseNotification.Object_ = {
|
|
9
|
+
List: "list",
|
|
10
|
+
};
|
|
11
|
+
})(ListResponseNotification || (exports.ListResponseNotification = ListResponseNotification = {}));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as NizamMerchant from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
|
+
*/
|
|
5
|
+
export interface ListResponseNotificationDeadLetter {
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
|
+
object?: ListResponseNotificationDeadLetter.Object_ | undefined;
|
|
8
|
+
/** Page of resources. Empty array when there are no matches. */
|
|
9
|
+
data?: NizamMerchant.NotificationDeadLetter[] | undefined;
|
|
10
|
+
/** True when more pages exist; pass `next_cursor` as `?starting_after=` to fetch the next page. */
|
|
11
|
+
has_more?: boolean | undefined;
|
|
12
|
+
/** True when earlier pages exist; pass `prev_cursor` as `?ending_before=` to fetch the previous page. */
|
|
13
|
+
has_previous?: boolean | undefined;
|
|
14
|
+
/** Opaque cursor for the next page. `null` on the last page. */
|
|
15
|
+
next_cursor?: string | undefined;
|
|
16
|
+
/** Opaque cursor for the previous page. `null` on the first page. */
|
|
17
|
+
prev_cursor?: string | undefined;
|
|
18
|
+
/** Page size that produced this response. */
|
|
19
|
+
limit?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ListResponseNotificationDeadLetter {
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
|
+
const Object_: {
|
|
24
|
+
readonly List: "list";
|
|
25
|
+
};
|
|
26
|
+
type Object_ = (typeof Object_)[keyof typeof Object_];
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListResponseNotificationDeadLetter = void 0;
|
|
5
|
+
var ListResponseNotificationDeadLetter;
|
|
6
|
+
(function (ListResponseNotificationDeadLetter) {
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
|
+
ListResponseNotificationDeadLetter.Object_ = {
|
|
9
|
+
List: "list",
|
|
10
|
+
};
|
|
11
|
+
})(ListResponseNotificationDeadLetter || (exports.ListResponseNotificationDeadLetter = ListResponseNotificationDeadLetter = {}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseOperatorPosition {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseOperatorPosition.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.OperatorPosition[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseOperatorPosition {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseOperatorPosition {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseOperatorPosition = void 0;
|
|
5
5
|
var ListResponseOperatorPosition;
|
|
6
6
|
(function (ListResponseOperatorPosition) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseOperatorPosition.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseOrganization {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseOrganization.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Organization[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseOrganization {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseOrganization {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponseOrganization = void 0;
|
|
5
5
|
var ListResponseOrganization;
|
|
6
6
|
(function (ListResponseOrganization) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponseOrganization.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponsePosition {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponsePosition.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Position[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponsePosition {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponsePosition {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.ListResponsePosition = void 0;
|
|
5
5
|
var ListResponsePosition;
|
|
6
6
|
(function (ListResponsePosition) {
|
|
7
|
-
/** Object type discriminator
|
|
7
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
8
8
|
ListResponsePosition.Object_ = {
|
|
9
9
|
List: "list",
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as NizamMerchant from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Envelope for paginated list responses (
|
|
3
|
+
* Envelope for paginated list responses (opaque cursor pagination).
|
|
4
4
|
*/
|
|
5
5
|
export interface ListResponseTimezone {
|
|
6
|
-
/** Object type discriminator
|
|
6
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
7
7
|
object?: ListResponseTimezone.Object_ | undefined;
|
|
8
8
|
/** Page of resources. Empty array when there are no matches. */
|
|
9
9
|
data?: NizamMerchant.Timezone[] | undefined;
|
|
@@ -19,7 +19,7 @@ export interface ListResponseTimezone {
|
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace ListResponseTimezone {
|
|
22
|
-
/** Object type discriminator
|
|
22
|
+
/** Object type discriminator. Always `list` for this envelope. */
|
|
23
23
|
const Object_: {
|
|
24
24
|
readonly List: "list";
|
|
25
25
|
};
|