@shipstatic/types 0.3.18 → 0.3.19

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/index.d.ts CHANGED
@@ -28,6 +28,8 @@ export interface Deployment {
28
28
  readonly config?: boolean;
29
29
  /** Optional array of tags for categorization and filtering (lowercase, alphanumeric with separators) */
30
30
  tags?: string[];
31
+ /** The client/tool used to create this deployment (e.g., 'web', 'sdk', 'cli') */
32
+ readonly via?: string;
31
33
  /** The deployment URL */
32
34
  readonly url: string;
33
35
  /** Unix timestamp (seconds) when deployment was created */
@@ -77,8 +79,8 @@ export interface Domain {
77
79
  readonly created: number;
78
80
  /** Whether this was a create (201) or update (200) operation */
79
81
  readonly isCreate?: boolean;
80
- /** Unix timestamp (seconds) when domain was confirmed */
81
- confirmed?: number;
82
+ /** Unix timestamp (seconds) when domain was verified */
83
+ verified?: number;
82
84
  }
83
85
  /**
84
86
  * Response for listing domains
@@ -477,7 +479,7 @@ export interface DomainResource {
477
479
  get: (domainName: string) => Promise<Domain>;
478
480
  list: () => Promise<DomainListResponse>;
479
481
  remove: (domainName: string) => Promise<void>;
480
- confirm: (domainName: string) => Promise<{
482
+ verify: (domainName: string) => Promise<{
481
483
  message: string;
482
484
  }>;
483
485
  dns: (domainName: string) => Promise<DomainDnsResponse>;
@@ -557,11 +559,11 @@ export interface KeysResource {
557
559
  /**
558
560
  * All activity event types logged in the system
559
561
  */
560
- export type ActivityEvent = 'account_create' | 'account_update' | 'account_delete' | 'account_key_generate' | 'account_plan_paid' | 'account_plan_transition' | 'account_suspended' | 'deployment_create' | 'deployment_delete' | 'deployment_claim' | 'domain_create' | 'domain_update' | 'domain_delete' | 'domain_set' | 'domain_confirm' | 'token_create' | 'token_consume' | 'admin_account_plan_update' | 'admin_account_ref_update' | 'admin_account_billing_update' | 'admin_account_tags_update' | 'admin_deployment_delete' | 'admin_domain_delete' | 'billing_suspended' | 'billing_active' | 'billing_canceled' | 'billing_paused' | 'billing_expired' | 'billing_paid' | 'billing_trialing' | 'billing_scheduled_cancel' | 'billing_unpaid' | 'billing_update' | 'billing_past_due' | 'billing_terminated' | 'billing_manual_sync' | 'refund_created' | 'dispute_created';
562
+ export type ActivityEvent = 'account_create' | 'account_update' | 'account_delete' | 'account_key_generate' | 'account_plan_paid' | 'account_plan_transition' | 'account_suspended' | 'deployment_create' | 'deployment_delete' | 'deployment_claim' | 'domain_create' | 'domain_update' | 'domain_delete' | 'domain_set' | 'domain_verify' | 'token_create' | 'token_consume' | 'admin_account_plan_update' | 'admin_account_ref_update' | 'admin_account_billing_update' | 'admin_account_tags_update' | 'admin_deployment_delete' | 'admin_domain_delete' | 'billing_suspended' | 'billing_active' | 'billing_canceled' | 'billing_paused' | 'billing_expired' | 'billing_paid' | 'billing_trialing' | 'billing_scheduled_cancel' | 'billing_unpaid' | 'billing_update' | 'billing_past_due' | 'billing_terminated' | 'billing_manual_sync' | 'refund_created' | 'dispute_created';
561
563
  /**
562
564
  * Activity events visible to users in the dashboard
563
565
  */
564
- export type UserVisibleActivityEvent = 'account_create' | 'account_update' | 'account_delete' | 'account_key_generate' | 'account_plan_transition' | 'deployment_create' | 'deployment_delete' | 'deployment_claim' | 'domain_create' | 'domain_update' | 'domain_delete' | 'domain_set' | 'domain_confirm' | 'token_create' | 'token_consume';
566
+ export type UserVisibleActivityEvent = 'account_create' | 'account_update' | 'account_delete' | 'account_key_generate' | 'account_plan_transition' | 'deployment_create' | 'deployment_delete' | 'deployment_claim' | 'domain_create' | 'domain_update' | 'domain_delete' | 'domain_set' | 'domain_verify' | 'token_create' | 'token_consume';
565
567
  /**
566
568
  * Activity record returned from the API
567
569
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.3.18",
3
+ "version": "0.3.19",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -35,6 +35,8 @@ export interface Deployment {
35
35
  readonly config?: boolean;
36
36
  /** Optional array of tags for categorization and filtering (lowercase, alphanumeric with separators) */
37
37
  tags?: string[];
38
+ /** The client/tool used to create this deployment (e.g., 'web', 'sdk', 'cli') */
39
+ readonly via?: string;
38
40
  /** The deployment URL */
39
41
  readonly url: string;
40
42
  /** Unix timestamp (seconds) when deployment was created */
@@ -93,8 +95,8 @@ export interface Domain {
93
95
  readonly created: number;
94
96
  /** Whether this was a create (201) or update (200) operation */
95
97
  readonly isCreate?: boolean;
96
- /** Unix timestamp (seconds) when domain was confirmed */
97
- confirmed?: number; // Mutable - can be updated
98
+ /** Unix timestamp (seconds) when domain was verified */
99
+ verified?: number; // Mutable - can be updated
98
100
  }
99
101
 
100
102
  /**
@@ -730,7 +732,7 @@ export interface DomainResource {
730
732
  get: (domainName: string) => Promise<Domain>;
731
733
  list: () => Promise<DomainListResponse>;
732
734
  remove: (domainName: string) => Promise<void>;
733
- confirm: (domainName: string) => Promise<{ message: string }>;
735
+ verify: (domainName: string) => Promise<{ message: string }>;
734
736
  dns: (domainName: string) => Promise<DomainDnsResponse>;
735
737
  records: (domainName: string) => Promise<DomainRecordsResponse>;
736
738
  share: (domainName: string) => Promise<{ domain: string; hash: string }>;
@@ -839,7 +841,7 @@ export type ActivityEvent =
839
841
  | 'domain_update'
840
842
  | 'domain_delete'
841
843
  | 'domain_set'
842
- | 'domain_confirm'
844
+ | 'domain_verify'
843
845
  // Token events
844
846
  | 'token_create'
845
847
  | 'token_consume'
@@ -883,7 +885,7 @@ export type UserVisibleActivityEvent =
883
885
  | 'domain_update'
884
886
  | 'domain_delete'
885
887
  | 'domain_set'
886
- | 'domain_confirm'
888
+ | 'domain_verify'
887
889
  | 'token_create'
888
890
  | 'token_consume';
889
891